#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDBusObjectPath>

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public Q_SLOTS:
    void registerService();
    void unregisterService();

    void InterfacesAdded(const QDBusObjectPath &path, const QMap<QString, QVariantMap> &interfaceInfos);
    void InterfacesRemoved(const QDBusObjectPath &path, const QStringList &interfaces);

private:
    class QtDBusObjectManager *manager;
};
#endif // MAINWINDOW_H
